package com.bdmc.car.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.bdmc.common.annotation.ExcelDictFormat;
import com.bdmc.common.convert.ExcelDictConvert;
import lombok.Data;

/**
 * 修车厂视图对象 car_garage
 *
 * @author bdmc
 * @date 2023-01-06
 */
@Data
@ExcelIgnoreUnannotated
public class CarGarageVo {

	private static final long serialVersionUID = 1L;

    /**
     * id
     */
	@ExcelProperty(value = "id")
	private Integer garageId;

    /**
     * 部门id
     */
	@ExcelProperty(value = "部门id")
	private Long deptId;

    /**
     * 修车厂名称
     */
	@ExcelProperty(value = "修车厂名称")
	private String garageName;

    /**
     * 修车厂地址
     */
	@ExcelProperty(value = "修车厂地址")
	private String garageAddr;

    /**
     * 联系人
     */
	@ExcelProperty(value = "联系人")
	private String manager;

    /**
     * 电话
     */
	@ExcelProperty(value = "电话")
	private String mobile;

    /**
     * 是否启用
     */
    @ExcelProperty(value = "是否启用", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "alarm_yes_or_no")
	private Integer enabled;


	/**
	 * 部门名称
	 */
	@ExcelProperty(value = "部门名称")
	private String deptName;

}
